package com.ruoyi.project.wf.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.ruoyi.framework.web.domain.BaseEntity;
import lombok.experimental.Accessors;

import java.util.List;


/**
 * 流程节点信息对象 wf_process_act
 *
 * @author XQ.XU
 * @date 2020-03-20
 */
@Data
@EqualsAndHashCode(callSuper=false)
@Accessors(chain = true)
@TableName(value = "wf_process_act")
@JsonIgnoreProperties({"handler"})
public class WfProcessAct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(value = "id")
    private String id;

    /** 流程主键 */
    @Excel(name = "流程主键")
    private String procDefId;

    /** 子流程主键 */
    @Excel(name = "子流程主键")
    private String subProcDefId;

    /** 工作项编号 */
    @Excel(name = "工作项编号")
    private String code;

    /** 工作项名称 */
    @Excel(name = "工作项名称")
    private String name;

    /** 获取状态 */
    @Excel(name = "获取状态")
    private Integer isJudgeState;

    /** X轴 */
    @Excel(name = "X轴")
    private Integer positonX;

    /** Y轴 */
    @Excel(name = "Y轴")
    private Integer positionY;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 操作类型 */
    @Excel(name = "操作类型")
    private Integer actType;

    @TableField(exist = false)
    private WfProcessDef wfProcessDef;
    @TableField(exist = false)
    private List<WfActBranch> wfActBranchsByFromProcActId;
    @TableField(exist = false)
    private List<WfActBranch> wfActBranchsByToProcActId;
    @TableField(exist = false)
    private List<WfProcessActRoleRel> wfProcessActRoleRelsByProcActId;
}
